import React from "react"

const Child = ({handleClick}) => {
    console.log('render child')
    return (
        <button onClick={() => handleClick()}>数字加5</button>
    )
}

export default React.memo(Child)
// export default Child

/**
*
 * react.useCallback 
 * 子组件通过一个穿
 * 
 * 
 */